﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UsersMaster.master" AutoEventWireup="true"
    CodeBehind="NewClientTransaction.aspx.cs" Inherits="SMS.Client.NewClientTransaction" %>

<asp:Content ID="Content1" ContentPlaceHolderID="UserMainContent" runat="server">
    <div id="search" class="boxed">
        <h2 class="title" dir="rtl">
            <img src="../App_Themes/Theme/images/coins.png" class="img" />
            صرف</h2>
        <div dir="rtl" class="content">
            <table width="100%">
                <tr>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text="إسم العميل :"></asp:Label>
                        <asp:DropDownList Width="10%" ID="ddlCustomers" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlCustomers_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                    <td align="right">
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Panel Direction="RightToLeft" GroupingText="بيانات العميل" HorizontalAlign="Right"
                            runat="server">
                            <asp:UpdatePanel runat="server">
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="ddlCustomers" EventName="SelectedIndexChanged" />
                                </Triggers>
                                <ContentTemplate>
                                    <table>
                                        <tr>
                                            <td align="right">
                                                <asp:Label Text="إسم العميل :" runat="server" />
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblName" runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label2" runat="server" Text="الحساب :"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblCrdt" runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label4" runat="server" Text="الحالة :"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblStatus" runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label3" runat="server" Text="المبلغ المدفوع :"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtPayment" runat="server" />
                                                <asp:RangeValidator ID="vldrange" ErrorMessage="errormessage" ControlToValidate="txtPayment"
                                                    runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" align="left">
                                                <asp:Button CssClass="checkoutbutton" ID="btnSave" Text="دفع" runat="server" OnClick="btnSave_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </asp:Panel>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="UserHeadContent">
    <style type="text/css">
        .style1
        {
            width: 132px;
        }
    </style>
</asp:Content>
